Optimal. Leaf size=607 \[ \frac{b m n \left (e x \left (\log ^2(x)-2 \left (\text{PolyLog}\left (2,-\frac{e x}{d}\right )+\log (x) \log \left (\frac{e x}{d}+1\right )\right )\right )+2 e x \log \left (-\frac{e x}{d}\right )-2 (d+e x) \log (d+e x)-2 d \log (x) \log (d+e x)\right ) \left (a+b \log \left (c (d+e x)^n\right )-b n \log (d+e x)\right )}{d x}-\frac{2 b^2 e n^2 \log \left (f x^m\right ) \text{PolyLog}\left (2,-\frac{e x}{d}\right )}{d}+\frac{2 b^2 e m n^2 \text{PolyLog}\left (3,-\frac{e x}{d}\right )}{d}-\frac{2 b^2 e m n^2 \text{PolyLog}\left (3,\frac{e x}{d}+1\right )}{d}+\frac{2 b^2 e m n^2 (\log (d+e x)+1) \text{PolyLog}\left (2,\frac{e x}{d}+1\right )}{d}-\frac{2 b n \left (e x \log \left (-\frac{e x}{d}\right )-(d+e x) \log (d+e x)\right ) \left (m \log (x)-\log \left (f x^m\right )\right ) \left (a+b \log \left (c (d+e x)^n\right )-b n \log (d+e x)\right )}{d x}-\frac{\left (\log \left (f x^m\right )+m (-\log (x))+m\right ) \left (a+b \log \left (c (d+e x)^n\right )-b n \log (d+e x)\right )^2}{x}-\frac{m \log (x) \left (a+b \log \left (c (d+e x)^n\right )-b n \log (d+e x)\right )^2}{x}-\frac{b^2 e n^2 \log ^2(d+e x) \log \left (f x^m\right )}{d}-\frac{b^2 n^2 \log ^2(d+e x) \log \left (f x^m\right )}{x}+\frac{2 b^2 e n^2 \log (x) \log (d+e x) \log \left (f x^m\right )}{d}-\frac{2 b^2 e n^2 \log (x) \log \left (\frac{e x}{d}+1\right ) \log \left (f x^m\right )}{d}-\frac{b^2 e m n^2 \log ^2(d+e x)}{d}+\frac{b^2 e m n^2 \log \left (-\frac{e x}{d}\right ) \log ^2(d+e x)}{d}-\frac{b^2 m n^2 \log ^2(d+e x)}{x}-\frac{b^2 e m n^2 \log ^2(x) \log (d+e x)}{d}+\frac{b^2 e m n^2 \log ^2(x) \log \left (\frac{e x}{d}+1\right )}{d}+\frac{2 b^2 e m n^2 \log \left (-\frac{e x}{d}\right ) \log (d+e x)}{d} \]
[Out]
________________________________________________________________________________________
Rubi [F] time = 0.0289378, antiderivative size = 0, normalized size of antiderivative = 0., number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0., Rules used = {} \[ \int \frac{\log \left (f x^m\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )^2}{x^2} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
Rubi steps
\begin{align*} \int \frac{\log \left (f x^m\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )^2}{x^2} \, dx &=\int \frac{\log \left (f x^m\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )^2}{x^2} \, dx\\ \end{align*}
Mathematica [A] time = 0.754481, size = 513, normalized size = 0.85 \[ \frac{-b m n \left (-e x \left (\log ^2(x)-2 \left (\text{PolyLog}\left (2,-\frac{e x}{d}\right )+\log (x) \log \left (\frac{e x}{d}+1\right )\right )\right )-2 e x \log \left (-\frac{e x}{d}\right )+2 (d+e x) \log (d+e x)+2 d \log (x) \log (d+e x)\right ) \left (a+b \log \left (c (d+e x)^n\right )-b n \log (d+e x)\right )+b^2 n^2 \left (2 e x \text{PolyLog}\left (2,\frac{e x}{d}+1\right ) \left (m \log (d+e x)+\log \left (f x^m\right )+m (-\log (x))+m\right )+2 e m x \text{PolyLog}\left (3,-\frac{e x}{d}\right )-2 e m x \text{PolyLog}\left (3,\frac{e x}{d}+1\right )-2 e m x \log (x) \text{PolyLog}\left (2,-\frac{e x}{d}\right )-d \log ^2(d+e x) \log \left (f x^m\right )-e x \log ^2(d+e x) \log \left (f x^m\right )+2 e x \log \left (-\frac{e x}{d}\right ) \log (d+e x) \log \left (f x^m\right )+e m x \log ^2(x) \log (d+e x)-e m x \log ^2(x) \log \left (\frac{e x}{d}+1\right )-d m \log ^2(d+e x)-e m x \log ^2(d+e x)+e m x \log \left (-\frac{e x}{d}\right ) \log ^2(d+e x)-2 e m x \log (x) \log \left (-\frac{e x}{d}\right ) \log (d+e x)+2 e m x \log \left (-\frac{e x}{d}\right ) \log (d+e x)\right )+2 b n \left ((d+e x) \log (d+e x)-e x \log \left (-\frac{e x}{d}\right )\right ) \left (m \log (x)-\log \left (f x^m\right )\right ) \left (a+b \log \left (c (d+e x)^n\right )-b n \log (d+e x)\right )+d \left (-\log \left (f x^m\right )+m \log (x)-m\right ) \left (a+b \log \left (c (d+e x)^n\right )-b n \log (d+e x)\right )^2-d m \log (x) \left (a+b \log \left (c (d+e x)^n\right )-b n \log (d+e x)\right )^2}{d x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 1.373, size = 0, normalized size = 0. \begin{align*} \int{\frac{\ln \left ( f{x}^{m} \right ) \left ( a+b\ln \left ( c \left ( ex+d \right ) ^{n} \right ) \right ) ^{2}}{{x}^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\frac{{\left (b^{2}{\left (m + \log \left (f\right )\right )} + b^{2} \log \left (x^{m}\right )\right )} \log \left ({\left (e x + d\right )}^{n}\right )^{2}}{x} + \int \frac{b^{2} d \log \left (c\right )^{2} \log \left (f\right ) + 2 \, a b d \log \left (c\right ) \log \left (f\right ) + a^{2} d \log \left (f\right ) +{\left (b^{2} e \log \left (c\right )^{2} \log \left (f\right ) + 2 \, a b e \log \left (c\right ) \log \left (f\right ) + a^{2} e \log \left (f\right )\right )} x + 2 \,{\left (b^{2} d \log \left (c\right ) \log \left (f\right ) + a b d \log \left (f\right ) +{\left (a b e \log \left (f\right ) +{\left (e \log \left (c\right ) \log \left (f\right ) +{\left (m n + n \log \left (f\right )\right )} e\right )} b^{2}\right )} x +{\left (b^{2} d \log \left (c\right ) + a b d +{\left ({\left (e n + e \log \left (c\right )\right )} b^{2} + a b e\right )} x\right )} \log \left (x^{m}\right )\right )} \log \left ({\left (e x + d\right )}^{n}\right ) +{\left (b^{2} d \log \left (c\right )^{2} + 2 \, a b d \log \left (c\right ) + a^{2} d +{\left (b^{2} e \log \left (c\right )^{2} + 2 \, a b e \log \left (c\right ) + a^{2} e\right )} x\right )} \log \left (x^{m}\right )}{e x^{3} + d x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{b^{2} \log \left ({\left (e x + d\right )}^{n} c\right )^{2} \log \left (f x^{m}\right ) + 2 \, a b \log \left ({\left (e x + d\right )}^{n} c\right ) \log \left (f x^{m}\right ) + a^{2} \log \left (f x^{m}\right )}{x^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \log \left ({\left (e x + d\right )}^{n} c\right ) + a\right )}^{2} \log \left (f x^{m}\right )}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]